package com.pureman.androidapp.ninegridimageview;

import android.content.Intent;
import android.os.Bundle;
import android.support.v7.app.AppCompatActivity;
import android.view.View;

import com.pureman.androidapp.R;

public class NineGridImageViewActivity extends AppCompatActivity {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_nine_grid_image_view);

        setSupportActionBar((android.support.v7.widget.Toolbar) findViewById(R.id.toolbar));

        findViewById(R.id.btn_fill_style).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(NineGridImageViewActivity.this, FillStyleActivity.class);
                startActivity(intent);
            }
        });

        findViewById(R.id.btn_grid_style).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(NineGridImageViewActivity.this, GridStyleActivity.class);
                startActivity(intent);
            }
        });
    }
}
